package factory;

import java.util.concurrent.atomic.AtomicInteger;

import domain.ChatRoom;

public class ChatRoomFactory {
	private static AtomicInteger roomId = new AtomicInteger(0);
	
	public static ChatRoom getChatRoom() {
		return new ChatRoom(roomId.incrementAndGet());
	}
}
